<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<title>Examples</title>
<meta name="description" content="">
<meta name="keywords" content="">
<script src="../lib/vue.min.js"></script>
</head>
<body>
    <div id="box">
      <input type="text" v-model.lazy="mytext"/>
      {{mytext}}

      <input type="number" v-model.number="mynumber"/>
      {{mynumber}}

      <input type="text" v-model.trim="myusername"/>

      |{{myusername}}|
    </div>
   
    <script type="text/javascript">
    	new Vue({
        el:"#box",
        data:{
          mytext:"",
          mynumber:0,
          myusername:""
        }
      })
    </script>
</body>
</html>

